package com.michaelbulava.TFS.ui.controls.generic;

import javax.swing.*;

/**
 * Created by mbulava on 6/15/2015.
 */
public class JWrappingLabel extends JTextArea {

    public JWrappingLabel(String text){
        super(text);
        init();
    }

    public JWrappingLabel(){
        super();
        init();
    }

    private void init(){
        setBackground(null);
        setEditable(false);
        setBorder(null);
        setLineWrap(true);
        setWrapStyleWord(true);
        setFocusable(false);
    }
}